package com.bitin.uaa.oauth2.extension.captcha;

import org.springframework.security.core.Authentication;
import org.springframework.security.oauth2.core.AuthorizationGrantType;
import org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationGrantAuthenticationToken;

import java.util.Map;

/**
 * 验证码授权模式身份验证令牌(包含用户名和密码等)
 *
 * @Author: Mr.Lu
 * @Datetime 2024/8/16 0:13
 */
public class CaptchaAuthenticationToken extends OAuth2AuthorizationGrantAuthenticationToken {
    protected CaptchaAuthenticationToken(AuthorizationGrantType authorizationGrantType, Authentication clientPrincipal, Map<String, Object> additionalParameters) {
        super(authorizationGrantType, clientPrincipal, additionalParameters);
    }
}
